-- GENERATED SPELL FOR [Void Conduit] --


function spell0_20899(pUnit, Event) --@Void Conduit Target,n/a--
pUnit:FullCastSpellOnTarget(36780,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20899', 601, 1)
end

function Sorts_20899(pUnit, Event)
local choix_sorts_20899 = math.random(0, 0)
if choix_sorts_20899 == 0 then
pUnit:RegisterEvent('spell0_20899', 1, 1)
end
end

function mob20899_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20899', math.random(1500, 3000), 1)
end

function mob20899_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20899_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20899_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20899, 1, 'mob20899_Action')
RegisterUnitEvent(20899, 2, 'mob20899_Leave')
RegisterUnitEvent(20899, 3, 'mob20899_Kill')
RegisterUnitEvent(20899, 4, 'mob20899_Die')
